#ifndef __GlCommon_h__
#define __GlCommon_h__

#include <cmath>

namespace GraphicLibrary
{
	class Position;
	class Matrix4x4;

	enum CommonExceptionList
	{
		CelParameterError
	};
	float getAngleTo(const Position &origin, const Position &target);
	Position shiftPos(const Position &pos, const float direction, const float distance);
	Position operator * (const Position &pos, const Matrix4x4 &mat);
	float rand(const float maxValue);
}

#endif // __GlCommon_h__
